﻿@model SAKS.ViewModels.ProjectCreateUpdateModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "创建项目";
}

<h2>创建项目</h2>

<link href="@Url.Content("~/Content/themes/base/validationEngine.jquery.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-ch.js")" type="text/javascript"></script>

<div class="editor-box">
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    @Html.Partial("PartialCreateUpdate")
}
</div>
<div>
    @Html.ActionLink("返回", "Index")
</div>

<script type="text/javascript">
    $(function () {
        $("#EndDate,#StartDate").datepicker({
            changeMonth: true,
            changeYear: true,
            dateFormat: 'yy-mm-dd' ,
            dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
        });
        $("input[type='submit']").button();
        $("form").validationEngine();
    });

</script>